$(document).ready(function(){
    var location = window.location.href;
    if (location.indexOf("category") > 0 ) {
    	var icart = document.getElementById("i-sort");
    	icart.className="uk-width-1-5 active";
    	icart.childNodes[1].className="uk-icon-ixian sort active uk-icon-large";
    } else if (location.indexOf("activity") > 0 ) {
    	var ievent = document.getElementById("i-event");
    	ievent.className="uk-width-1-5 active";
    	ievent.childNodes[1].className="uk-icon-ixian event active uk-icon-large";
    } else if (location.indexOf("cart") > 0 ) {
    	var ievent = document.getElementById("i-cart");
    	ievent.className="uk-width-1-5 active";
    	ievent.childNodes[1].className="uk-icon-ixian cart active uk-icon-large";
    } else{
    	var ihome = document.getElementById("i-home");
    	ihome.className="uk-width-1-5 active";
    	ihome.childNodes[1].className="uk-icon-ixian home active uk-icon-large";
    };

});